FROM  python:3.6.8
COPY ./zb_outbound  /zb_outbound
WORKDIR /zb_outbound
RUN pip install -r pip.txt  -i  https://pypi.tuna.tsinghua.edu.cn/simple \
 && sed -i s/decode/encode/g /usr/local/lib/python3.6/site-packages/django/db/backends/mysql/operations.py 
CMD python manage.py runserver 0.0.0.0:8181
